package com.gxist.restful.repository;

import com.gxist.restful.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserJPARepository extends JpaRepository<User,Long> {

    User findById(Long id);

    List<User> findByCountry(String country);
}
